package com.qcby.llmtchstd.dao;

import com.qcby.llmtchstd.entity.Student;
import com.qcby.llmtchstd.entity.Teacher;
import org.mapstruct.Mapper;

import java.util.List;
@Mapper
public interface TeacherDao {
    Integer count();

    List<Teacher> page(Integer offset, Integer pageSize);

    int add(Teacher student);

    List<Teacher> search(Teacher student);

    int update(Teacher student);

    int delete(Integer id);

    Teacher edit(Integer id);

    Integer serCount(Teacher student);


}
